#ifndef _INC_RAYTRACER_VECTOR
#define _INC_RAYTRACER_VECTOR

#include "rt_math.h"
#include "Structures.h"

/****************************************************************************
ray3

3 dimensional parametrized vector function.
*****************************************************************************/
class ray3
{
public:

	ray3(Point3 b, Point3 d)
	{
		beg = b;
		dir = d;

		//dir.normalize();
	}

	//Point3 operator()(double t)  const { return beg + t*dir;  }
	 Point3 origin()		  const { return beg;		   }
	 Point3 direction()	  const { return dir;		   }

private:

	Point3 beg, dir;
}; // end ray3 class

#endif
